package com.chat.websocket.entity.module;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * SunJingxuan
 * 2022 \ 08 \ 09
 */

@TableName("friend")
public class Friend {

	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer userId;
	private Integer friendUserId;
	private Date approvalTime;
	private Integer topStatus;
	private Integer friendStatus;
	private Integer pullBlackStatus;

	private Integer chatListDeleteStatus;
	private Date createTime;
	private Date modifyTime;
	private Integer deleteStatus;

	public Friend() {}

	public Friend(Integer id, Integer userId, Integer friendUserId, Date approvalTime, Integer topStatus, Integer friendStatus, Integer pullBlackStatus, Integer chatListDeleteStatus, Date createTime, Date modifyTime, Integer deleteStatus) {
		this.id = id;
		this.userId = userId;
		this.friendUserId = friendUserId;
		this.approvalTime = approvalTime;
		this.topStatus = topStatus;
		this.friendStatus = friendStatus;
		this.pullBlackStatus = pullBlackStatus;
		this.chatListDeleteStatus = chatListDeleteStatus;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.deleteStatus = deleteStatus;
	}

	public Friend(Integer userId, Integer friendUserId, Date approvalTime, Integer topStatus, Date createTime, Date modifyTime) {
		this.userId = userId;
		this.friendUserId = friendUserId;
		this.approvalTime = approvalTime;
		this.topStatus = topStatus;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getFriendUserId() {
		return friendUserId;
	}

	public void setFriendUserId(Integer friendUserId) {
		this.friendUserId = friendUserId;
	}

	public Date getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}

	public Integer getTopStatus() {
		return topStatus;
	}

	public void setTopStatus(Integer topStatus) {
		this.topStatus = topStatus;
	}

	public Integer getFriendStatus() {
		return friendStatus;
	}

	public void setFriendStatus(Integer friendStatus) {
		this.friendStatus = friendStatus;
	}

	public Integer getPullBlackStatus() {
		return pullBlackStatus;
	}

	public void setPullBlackStatus(Integer pullBlackStatus) {
		this.pullBlackStatus = pullBlackStatus;
	}

	public Integer getChatListDeleteStatus() {
		return chatListDeleteStatus;
	}

	public void setChatListDeleteStatus(Integer chatListDeleteStatus) {
		this.chatListDeleteStatus = chatListDeleteStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public Integer getDeleteStatus() {
		return deleteStatus;
	}

	public void setDeleteStatus(Integer deleteStatus) {
		this.deleteStatus = deleteStatus;
	}
}
